package com.pets.web.service;

import com.pets.web.entity.PetsComment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pets.web.vo.ApiPetsCommentAddRequest;

import java.util.List;

/**
 * <p>
 * 商品评论表 服务类
 * </p>
 *
 * @author zhurenwang
 * @since 2024-05-26
 */
public interface IPetsCommentService extends IService<PetsComment> {

    int deleteById(Integer id);

    List<PetsComment> list(PetsComment petsComment);

    boolean top(Integer id);

    int add(ApiPetsCommentAddRequest request);

    List<PetsComment> getCommentList(Integer goodsId);

    boolean audit(Integer id);

    int add(PetsComment petsComment);
}
